Parse, convert, and write metadata to audio formats.
Supported Formats
| File Format | Metadata Format(s) |
|---|---|
| Ape | APEv2, APEv1, ID3v2*, ID3v1 |
| AIFF | ID3v2, Text Chunks |
| FLAC | Vorbis Comments, ID3v2* |
| MP3 | ID3v2, ID3v1, APEv2, APEv1 |
| MP4 | iTunes-style ilst |
| Opus | Vorbis Comments |
| Ogg Vorbis | Vorbis Comments |
| Speex | Vorbis Comments |
| WAV | ID3v2, RIFF INFO |
* The tag will be read only, due to lack of official support
Examples
Reading a generic file
It isn't always convenient to use concrete file types, which is where [TaggedFile]
comes in.
Using a path
# use LoftyError;
#
Using an existing reader
# use LoftyError;
#
Accessing tags
# use LoftyError;
#
Using concrete file types
# use LoftyError;
#
Features
Individual metadata formats
These features are available if you have a specific use case, or just don't want certain formats.
aiff_text_chunksapeid3v1id3v2mp4_ilstriff_info_listvorbis_comments
Utilities
id3v2_restrictions- Parses ID3v2 extended headers and exposes flags for fine grained control
Important format-specific notes
All formats have their own quirks that may produce unexpected results between conversions. Be sure to read the module documentation of each format to see important notes and warnings.